import request from '@/utils/request'
//民主测评
export function getKpiDetailList(data) {
  return request({
    url: '/kpidetail/list',
    method: 'post',
    data
  })
}

export function createKpiDetail(data) {
  return request({
    url: '/kpidetail/create',
    method: 'post',
    data
  })

}
export function submitTime(data) {
  return request({
    url: '/kpidetail/submitTime',
    method: 'post',
    data
  })

}

export function getScoreInfo(data) {
  return request({
    url: '/kpidetail/getScoreInfo',
    method: 'post',
    data
  })
}

export function updateKpiDetail(data) {
  return request({
    url: '/kpidetail/update',
    method: 'put',
    data
  })
}

export function deleteKpiDetail(data) {
  return request({
    url: '/kpidetail/delete',
    method: 'delete',
    data
  })
}

  export function selectDetail(data) {
    return request({
      url: '/kpidetail/getDetaillist',
      method: 'post',
      data
    })
}
export function DetailNoPageList(data) {
  return request({
    url: '/kpidetail/getDetailNoPageList',
    method: 'post',
    data
  })
}


